package com.example.fall_guard_band.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("medical_staff")
public class MedicalStaff {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("user_id")
    private Long userId;

    @TableField("nursing_home_id")
    private Long nursingHomeId;

    @TableField("name")
    private String name;

    @TableField("title")
    private String title;

    @TableField("department")
    private String department;

    @TableField("license_number")
    private String licenseNumber;

    @TableField("phone")
    private String phone;

    @TableField("status")
    private Integer status;

    @TableField("created_at")
    private LocalDateTime createdAt;

    @TableField("updated_at")
    private LocalDateTime updatedAt;
}